#include <stdio.h>
  
struct Person{
  char name[20];
  int age;
};

int main()
{
  struct Person person;
  printf("请输入姓名：");
  scanf("%s", person.name);
  printf("请输入年龄：");
  scanf("%d", &person.age);
  
  printf("%s %d",person.name, person.age);
  
  return 0;
}